<template>
	<view>
		<view class="main">
			<!-- <view class="shuru">
				<text class="shuru_tit t1">商户头像</text>
				<view class="shuru_image">
					<image class="image" mode="aspectFill"></image>
				</view>
			</view> -->
			<view class="shuru">
				<text class="shuru_tit t1">商户名称</text>
				<text class="shuru_text t1">
					{{streeDetail.name[0]}}
					<span>*</span>
					<span v-if="streeDetail.name.length >= 3">*</span>
				</text>
			</view>
			<view class="shuru">
				<text class="shuru_tit t1">电话号码</text>
				<text class="shuru_text t1">{{streeDetail.phone}}</text>
			</view>
			<view class="shuru">
				<text class="shuru_tit t1">代理等级</text>
				<text class="shuru_text t1">LV{{streeDetail.level}}</text>
			</view>
			<view class="shuru">
				<text class="shuru_tit t1">代理区域</text>
				<text class="shuru_text t1">{{streeDetail.areaName}}</text>
			</view>
			<view class="shuru">
				<text class="shuru_tit t1">代理id</text>
				<text class="shuru_text t1">{{streeDetail.agentId}}</text>
			</view>
			<view class="shuru">
				<text class="shuru_tit t1">商家数量</text>
				<text class="shuru_text t1">{{streeDetail.mchs}}</text>
			</view>
			<view class="shuru">
				<text class="shuru_tit t1">费率收益</text>
				<text class="shuru_text t1">{{streeDetail.tradeInc / 100}}</text>
			</view>
			<view class="shuru">
				<text class="shuru_tit t1">广告收益</text>
				<text class="shuru_text t1">{{streeDetail.adInc / 100}}</text>
			</view>
			<!-- <view class="shuru">
				<text class="shuru_tit t1">费率收益</text>
				<text class="shuru_text t1">{{streeDetail.redInc / 100}}</text>
			</view> -->
			<!-- <view class="shuru">
				<text class="shuru_tit t1">展示广告收益</text>
				<text class="shuru_text t1">{{streeDetail.zsAdInc / 100}}</text>
			</view>
			<view class="shuru">
				<text class="shuru_tit t1">广告商品收益</text>
				<text class="shuru_text t1">{{streeDetail.adSellInc / 100}}</text>
			</view> -->
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				streeDetail : {}
			}
		},
		onLoad(opt) {
			console.log(uni.getStorageSync('streeDetailMessage'));
			this.streeDetail = uni.getStorageSync('streeDetailMessage');
		},
		methods: {
			
		}
	}
</script>

<style>
	.shuru {
		width: 100%;
		height: auto;
		display: block;
		float: left;
		border-radius: 1vw;
		overflow: hidden;
		padding: 2vw 4vw;
		background: #fff;
		margin-top: 3vw;
		box-shadow: 0px 0px 5px #eee;
	}

	.shuru_tit {
		width: 30%;
		height: 10vw;
		line-height: 10vw;
		display: block;
		float: left;
	}

	.shuru_text {
		width: 60%;
		height: 10vw;
		line-height: 10vw;
		display: block;
		float: right;
		text-align: right;
	}

	.shuru_image {
		width: 10vw;
		height: 10vw;
		display: block;
		float: right;
		border-radius: 2vw;
		overflow: hidden;
		background: #F2F2F2;
		border: 1px solid #F2F2F2;
	}

	image.image {
		width: 100%;
		height: 100%;
	}

	/* .tuic {
		width: 90%;
		height: 14vw;
		display: block;
		float: left;
		text-align: center;
		line-height: 14vw;
		background: url(../../static/img/tuichu.png) no-repeat top center;
		background-size: 100%;
		margin: 0 5%;
		margin-top: 3vw;
	} */
</style>
